package com.iraytek.rtspdemo;

import android.util.Log;

import pedro.rtsp.utils.ConnectCheckerRtsp;

/**
 * created by yhy on 2021/9/18
 */
public class DefaultConnectionCheckRtsp implements ConnectCheckerRtsp {
    private static final String TAG = "ConnectionCheckRtsp";

    @Override
    public void onConnectionSuccessRtsp() {
        Log.d(TAG, "onConnectionSuccessRtsp: ");
    }

    @Override
    public void onConnectionFailedRtsp(String reason) {
        Log.e(TAG, "onConnectionFailedRtsp: " + reason);
    }

    @Override
    public void onNewBitrateRtsp(long bitrate) {
        Log.d(TAG, "onNewBitrateRtsp: " + bitrate);
    }

    @Override
    public void onDisconnectRtsp() {
        Log.d(TAG, "onDisconnectRtsp: ");
    }

    @Override
    public void onAuthErrorRtsp() {
        Log.e(TAG, "onAuthErrorRtsp: ");
    }

    @Override
    public void onAuthSuccessRtsp() {
        Log.d(TAG, "onAuthSuccessRtsp: ");
    }
}
